package com.zhny.project.txt.indexset.service;

import com.zhny.project.txt.dataset.domain.TxtDataset;
import com.zhny.project.txt.indexset.domain.TxtIndexset;

import java.util.LinkedHashMap;
import java.util.List;

/**
 * TXT指标集Service接口
 *
 * @author yanqun
 * @date 2019-12-10
 */
public interface ITxtIndexsetService
{
    /**
     * 查询TXT指标集
     *
     * @param indexsetKey TXT指标集ID
     * @return TXT指标集
     */
    public TxtIndexset selectTxtIndexsetById(String indexsetKey);

    public int RangeCleanIndex(TxtIndexset txtIndexset);

    public int deletedatasetKey(String datasetKey);

    public int BoxstxtIndexset(TxtIndexset txtIndexset);

    /**
     * 查询TXT指标集列表
     *
     * @param txtIndexset TXT指标集
     * @return TXT指标集集合
     */
    public List<TxtIndexset> selectTxtIndexsetList(TxtIndexset txtIndexset);

    public  int insertTxtinto(TxtDataset txtDataset, String deta, List<String> lis, List<String> surface);

    public  int csvTxtinto(TxtDataset txtDataset, String deta, List<String> lis, List<String> surface);

    public  List<TxtIndexset> selectStoreById(String datasetKey);

    /**
     * 新增TXT指标集
     *
     * @param txtIndexset TXT指标集
     * @return 结果
     */
    public int insertTxtIndexset(TxtIndexset txtIndexset);

    /**
     * 修改TXT指标集
     *
     * @param txtIndexset TXT指标集
     * @return 结果
     */
    public int updateTxtIndexset(TxtIndexset txtIndexset);

    /**
     * 批量删除TXT指标集
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTxtIndexsetByIds(String ids);

    /**
     * 删除TXT指标集信息
     *
     * @param indexsetKey TXT指标集ID
     * @return 结果
     */
    public int deleteTxtIndexsetById(String indexsetKey);

    public List<LinkedHashMap<String, Object>> ListMapStringObject(String filed1, String quality1, String datasetKey);

    public Integer searchEstimate(String indexsetKey);
}
